<?php
$con = mysqli_connect("localhost","root","root","thekol");
// Check connection
if (mysqli_connect_errno())
  {
  echo "Failed to connect to MySQL: " . mysqli_connect_error();
  }
else echo "<h1>Success in database connection! Happy Coding!</h1>"; 
phpinfo()
?>